@layout("/common/_container.html"){
<div class="ibox float-e-margins ">
    <div class="ibox-content" style="padding: 0;">
        <div style="display: none">
            <input type="hidden" id="id" value="">
            <input type="hidden" id="tcNameValue" value="">
            <input type="hidden" id="outpatientNameValue" value="">
            <input type="hidden" id="menuName" value="TC-看诊记录">
            <input type="hidden" id="sreach" value="">
        </div>
        <div class="numStatistics">
            <div><span>看诊记录</span></div>
            <div id="zoom">
                <img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/open.png" alt="">
                <img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/shrink.png" alt="" style="display: none">
                <span>条件展开</span>
            </div>
        </div>
        <div class="divFlex" style="display: none">
            <div class="flex_one">
                <div>门诊</div>
                <div>消费状态</div>
                <div>跟踪状态</div>
                <div>开单状态</div>
                <div>TC</div>
                <div>看诊人</div>
            </div>
            <div class="flex_two">
                <div>
                    <select id="outpatientName" onchange="ConsultantDiagnosis.search()">
                        <option value="">全部</option>
                        @for(str in outpatientManagementList){
                        <option value="${str.simplename}">${str.simplename}</option>
                        @}
                    </select>
                </div>
                <div>
                    <select id="consumptionStatus" onchange="ConsultantDiagnosis.search()">
                        <option value="">全部</option>
                        <option value="未消费">未消费</option>
                        <option value="只交储值">只交储值</option>
                        <option value="未完成">未完成</option>
                        <option value="完成">完成</option>
                    </select>
                </div>
                <div>
                    <select id="followStatus" onchange="ConsultantDiagnosis.search()">
                        <option value="">全部</option>
                        <option value="跟踪中">跟踪中</option>
                        <option value="跟踪完成">跟踪完成</option>
                        <option value="跟踪结束">跟踪结束</option>
                    </select>
                </div>
                <div>
                    <select id="dealStatus" onchange="ConsultantDiagnosis.inquire()">
                        <option value="">全部</option>
                        <option value="已结账">已结账</option>
                        <option value="未成交">未成交</option>
                    </select>
                </div>
                <div>
                    <select id="fieldTc" name="fieldTc" onchange="ConsultantDiagnosis.search()" >
                        <option value="">请选择</option>
                        @for(str in tcList){
                        <option value="${str.tcName}">${str.tcName}</option>
                        @}
                    </select>
                </div>
                <div>
                    <select id="tcName" name="tcName" onchange="ConsultantDiagnosis.search()" >
                        <option value="">请选择</option>
                        @for(str in tcList){
                        <option value="${str.tcName}">${str.tcName}</option>
                        @}
                    </select>
                </div>
            </div>
        </div>
        <div class="timeButton">
            <div class="timeBox">
                <div>
                    <span>看诊时间</span>
                    <input type="text" autocomplete="off" id="startDiagnosisTime" onclick="laydate({istiem:true,format:'YYYY-MM-DD hh:mm:ss',choose:checkDate})">
                    <span>-</span>
                    <input type="text" autocomplete="off" id="endDiagnosisTime" onclick="laydate({istiem:true,format:'YYYY-MM-DD hh:mm:ss',choose:checkDate})">
                </div>
                <div>
                    <button type="button" class="btn" onclick="ConsultantDiagnosis.today()">今日</button>
                    <button type="button" class="btn" onclick="ConsultantDiagnosis.yesterday()">昨日</button>
                    <button type="button" class="btn" onclick="ConsultantDiagnosis.thisWeek()">本周</button>
                </div>
            </div>
            <div class="buttonBox">
                <div>
                    <button type="button" class="btn" onclick="ConsultantDiagnosis.resetSearch()"><img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/empty.png"><span>重置</span></button>
                    <button type="button" class="btn" onclick="ConsultantDiagnosis.search()"><img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/refresh.png"><span>刷新</span></button>
                    <button type="button" class="btn" onclick="screenTable()"><img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/screen.png"><span>显示列</span></button>
                </div>
            </div>
        </div>
        <div class="tableBox">
            <#table id="ConsultantDiagnosisTable"/>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/tcCenter/consultant/consultant_diagnosis.js?v=20200718"></script>
<script src="${ctxPath}/static/modular/tcCenter/consultant/doctorTcSearchContentTwo.js?v=20200718"></script>
@}